import { getCurrentInstance } from "vue";

export default function useGlobal(){
    const {appContext, proxy} = getCurrentInstance();
    const global = appContext.config.globalProperties;
    return {proxy, global};
}